# $Id: PKGBUILD 81579 2012-12-24 15:01:10Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: wahnby <wahnby@yahoo.fr>

pkgname=gnunet-gtk
pkgver=0.9.5
pkgrel=1
pkgdesc="A frontend for GNUnet"
arch=('i686' 'x86_64')
url="http://gnunet.org"
options=('!libtool')
license=('GPL')
depends=('gnunet' 'glade' 'adns')
makedepends=('pkgconfig')
source=(ftp://ftp.gnu.org/gnu/gnunet/$pkgname-$pkgver.tar.gz)
md5sums=('2e48a1e92de99b14c936a270bb05309a')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --with-gnunet=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
  mv $pkgdir/usr/share/doc/gnunet $pkgdir/usr/share/doc/gnunet-gtk
}
